package cn.itcast;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * @email 1572178030@qq.com
 * @author:黄海宾
 * @date: ${DATE}  ${TIME}
 */

@SpringBootApplication(scanBasePackages = {"cn.itcast.wanxinp2p.consumer.mapper"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"cn.itcast.wanxinp2p.consumer.agent"})
@EnableSwagger2
public class ConsumerApp{
    public static void main(String[] args) {
        SpringApplication.run(ConsumerApp.class, args);
    }
}